package com.example.springboot159.springboot.chapter03;

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;

public interface InstantiationStrategy {

    Object instantiation(BeanDefinition definition, String beanName, Constructor  ctor,Object[] args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException, Exception;

}
